// tuoboseng.c
// Last Modified by Lonely on Aug. 25 2001

inherit NPC;

void create()
{
        set_name("游方和尚", ({"seng ren","seng"}));
        set("long", "他是一位中年游方和尚，骨瘦如柴，身上的袈裟打满了补丁。\n");

        set("gender", "男性");
        set("attitude", "friendly");
        set("class", "bonze");

        set("age", 45);
        set("shen_type", 1);
        set("str", 20);
        set("int", 30);
        set("con", 25);
        set("dex", 23);
        set("max_qi", 380);
        set("max_jing", 300);
        set("neili", 380);
        set("max_neili", 380);
        set("jiali", 27);
        set("combat_exp", 10000);
        set("shen_type", 1);
        set("chat_chance", 30);

        set_skill("force", 40);
        set_skill("unarmed", 40);
        set_skill("dodge", 40);
        set_skill("parry", 40);

        setup();
        carry_object("/d/shaolin/obj/cloth")->wear();

        setup();
}

int accept_object(object me, object obj)
{
        if( query("name", obj) == "金刚经" )
        {
                command("smile");
                command("say 阿弭陀佛，多谢这位" + RANK_D->query_respect(me) + "了 ！");
                command("say 贫僧正需这本金刚经来叁照石坪上的原文啊 ！");
        }

        return 1;
}
